package com.fc.advbox.service;

import com.fc.advbox.entity.SMSModule;
import com.fc.advbox.entity.SmsHistoryEntity;

import java.util.List;
import java.util.Map;


public interface ISmsHistoryService {

	SmsHistoryEntity queryObject(Long userId);
	
	List<SmsHistoryEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);

	void send(String phone, SMSModule module);

	void save(SmsHistoryEntity sms);
	
	void update(SmsHistoryEntity sms);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	void send(String phone, String msg);

	SmsHistoryEntity queryByMobileAndCode(String mobile, String code);
}
